
import service from '@/utils/request'


export const apiDownLoad = (url:any,data:any) => {
    return service.post(url,data,)
}


export const importUpload = (url:any, params:any) =>{
    return service({
        method: 'post',
        url: `${url}`,
        data: params,
        headers: {
            'Content-Type': 'multipart/form-data',
            'Authorization': localStorage.getItem("token")
        }
    })
}
